Skip to content

fix: bump eth2near Rust version to 1.86.0#960

Merged
karim-en merged 1 commit intomasterfrom
fix/eth2near-rust-version
Dec 22, 2025
Merged

fix: bump eth2near Rust version to 1.86.0#960
karim-en merged 1 commit intomasterfrom
fix/eth2near-rust-version

Conversation

@r-near
Copy link
Copy Markdown
Contributor

@r-near r-near commented Dec 22, 2025

alloy-primitives v1.2.0 requires edition2024, which is only stable in Rust 1.85+

Copilot AI review requested due to automatic review settings December 22, 2025 20:47
@r-near r-near requested a review from karim-en as a code owner December 22, 2025 20:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Rust version in the eth2near Dockerfile from 1.84.0 to 1.86.0 to support the alloy-primitives v1.2.0 dependency, which requires edition2024 (stable in Rust 1.85+).

Key changes:

  • Bump Docker base image from rust:1.84.0-bookworm to rust:1.86.0-bookworm

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread eth2near/Dockerfile
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM rust:1.84.0-bookworm AS builder
FROM rust:1.86.0-bookworm AS builder
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Rust version is being updated in the Dockerfile, but the corresponding eth2near/rust-toolchain file still specifies version 1.84.0. Both files should be updated to ensure consistency between local development (which uses rust-toolchain) and Docker builds. Please also update the channel in eth2near/rust-toolchain from "1.84.0" to "1.86.0".

Suggested change
FROM rust:1.86.0-bookworm AS builder
FROM rust:1.84.0-bookworm AS builder

Copilot uses AI. Check for mistakes.
@karim-en karim-en merged commit 180e735 into master Dec 22, 2025
23 checks passed
@karim-en karim-en deleted the fix/eth2near-rust-version branch December 22, 2025 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants